package com.wonders.frame.entity;

import com.wonders.frame.core.entity.EntityTemplate;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * @author 顾乘瑞
 * @Description TODO
 * @Date 2020/8/18 1:53 PM
 */
@Table(name = "t_fact_basic_datasource")
@Data
public class FactBasicDataSource extends EntityTemplate {
    @OneToOne
    @JoinColumn(name = "basic_id", referencedColumnName = "id")
    private FactBasicInfo basic;

}
